/**
 * Created by kroyo on 2017/8/25.
 * 搜索结果列表页
 */
@charset "utf-8";
@import "common/minxincommon";
@import "common/othercommon";


.searchlist-wrapper{
    width:100%;
    background-color: #eeeeee;
    padding-top: 30px;
    padding-bottom: 30px;
}

.search-select{
    //选择框
    .select-wrap{
        position: relative;
        width:200px;
        height: 40px;
        line-height:38px;
        margin-right: 30px;
        padding: 0 20px;
        font-size: 14px;
        .selectOff,.selectOn{
            position: absolute;
            top:14px;
            right:20px;
            display: block;
            content: '';
            width:12px;
            height: 12px;
            font-size:0;
            background: url(../img/dlibrary/down.png) no-repeat center;
            -webkit-transition: all .4s;
            -moz-transition: all .4s;
            -ms-transition: all .4s;
            -o-transition: all .4s;
            transition: all .4s;
        }
        .selectOn{
            display: none;
            background-image: url(../img/dlibrary/btn-del.png);
        }
        //点击下拉时  未选择
        &.active .selectOff{
            -webkit-transform: rotate(180deg);
            -moz-transform: rotate(180deg);
            -ms-transform: rotate(180deg);
            -o-transform: rotate(180deg);
            transform: rotate(180deg);
        }
        //已选择的情况
    }
    .select-date{
        position: relative;
        &:after{
            position: absolute;
            top: 14px;
            right: 20px;
            display: block;
            content: '';
            width: 12px;
            height: 12px;
            background: url(../img/search/icon-date.png) no-repeat center;
        }
    }
    //搜索框
    .search-wrap{
        width: 500px;
        height: 40px;
        border-radius: 2px;
        .input-text{
            width:440px;
            height:100%;
            line-height:38px;
            padding:0 20px;
            color: #1f2d3d;
            border:1px solid $bcolor;
            background: transparent;
        }
        .search-btn{
            width:60px;
            height:100%;
            background: url(../img/dlibrary/search-btn.png) no-repeat center;
            background-color: $bcolor-active;
            cursor: pointer;
        }
    }
}

//搜索结果列表
.search-list{
    width:100%;
    margin-top: 30px;
    .company-wrap{
        position: relative;
        width:100%;
        min-height: 160px;
        background-color: #ffffff;
        margin-bottom: 2px;
        -webkit-transition: all .4s;
        -moz-transition: all .4s;
        -ms-transition: all .4s;
        -o-transition: all .4s;
        transition: all .4s;
        a{
            display: table;
            width:100%;
            height:100%;
            padding: 20px;
        }
        &:hover {
            z-index: 1;
            -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
            -moz-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        }
    }
    //logo
    .company-logo{
        width:120px;
        display: table-cell;
        vertical-align: middle;
        div{
            width: 120px;
            height: 120px;
            overflow: hidden;
            border:1px solid #cccccc;
            img{
                width:100%;
                height:100%;
                vertical-align: middle;
            }
        }
    }
    //info
    .company-info{
        display: inline-block;
        width: 780px;
        margin-left: 20px;
        //服务方公司名称
        .title{
            font-size: 16px;
            font-weight:bold;
            color: #333333;
            vertical-align: middle;
            .approve-icon{
                display: inline-block;
                width: 14px;
                height: 14px;
                margin-left: 10px;
                vertical-align: -1px;
                background: url(../img/user/user-ractive.png) no-repeat center;
            }
        }
        //地点 、 人数
        .place{
            color: #333333;
            font-size: 16px;
            margin:30px 0 14px;
            
            i{
                margin-right: 10px;
            }
        }
        .location{
            margin-right: 25px;
            i{
                display: inline-block;
                width: 12px;
                height: 16px;
                background: url(../img/search/icon-site.png) no-repeat center;
                vertical-align: -2px;
            }
        }
        .person-num{
            i{
                display: inline-block;
                width: 21px;
                height: 16px;
                background: url(../img/search/icon-pnum.png) no-repeat center;
                vertical-align: -1px;
            }
        }
        //服务类型
        .category-list{
            font-size:0;
        }
        .category{
            display: inline-block;
            height: 24px;
            line-height: 23px;
            padding:0 10px;
            border:1px solid #cccccc;
            color: #666666;
            font-size: 14px;
            margin-top: 10px;
            margin-right: 10px;
            -webkit-border-radius: 2px;
            -moz-border-radius: 2px;
            border-radius: 2px;
        }
    }
    //awards
    .company-awards{
        display: table-cell;
        vertical-align: middle;
        max-width: 210px;
        .award{
            float:right;
            width:40px;
            height: 40px;
            -webkit-border-radius: 50%;
            -moz-border-radius: 50%;
            border-radius: 50%;
            border:1px solid #CCCCCC;
            margin:10px 0 10px 10px;
            overflow: hidden;
            img{
                width:100%;
                height:100%;
            }
        }
    }
}
